package STUDENT.TRANBANGTUNG.day_05_04_2016;

import java.util.Scanner;

public class login {
	public static void main(String[] args) {
		Scanner scuser = new Scanner(System.in);
		System.out.println("ten dang nhap!");
		String user = scuser.nextLine();
		if (user.isEmpty()) {

			System.out.println("vui long nhap ten dang nhap! cam on!");

		} else {
			Scanner scpass = new Scanner(System.in);
			System.out.println("mat khau!");
			String pass = scpass.nextLine();
			if (pass.isEmpty()) {
				System.out.println("vui long nhap pass!");
			} else {
				if (pass.equals("123456") && user.equals("tungtbgt00493")) {
					System.out.println("ban da dang nhap thanh cong :)!");
				} else {
					System.out.println("ban nhap sai ten dang nhap hoac mat khau:(!");
				}
			}
		}
	}
}
